﻿using aspNetCURD.Models;
using System.Collections.Generic;

namespace aspNetCURD.Services
{
    public interface IStudentRepository
    {
        IEnumerable<Student> GetStudents(string keyword, int pageIndex, int pageSize);
        Student GetStudent(string sno);
        int GetStudentsCount(string keyword);
        void AddStudent(Student student);
        bool StudentEmpty(string sno);
        bool Save();
    }
}
